<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/content/message" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>

  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.messageManage}</h1>
    </div>
    <div class="filterbar">
      <form id="search" method="post">
        <input id="recycle" class="input-text" name="recycle" type="hidden" value="{$recycle}">
        <label for="">ID</label>
        <input type="number" name="message_id" id="message_id" value="{$message_id}" class="input-text">
        <label for="">{$Think.lang.messageUser}ID</label>
        <input type="number" name="from_uid" id="from_uid" value="{$from_uid}" class="input-text">
        <label for="">{$Think.lang.content}</label>
        <input type="text" name="content" id="content" value="{$content}" class="input-text">
        <button type="submit" class="btn-search" id="J_search" title="{$Think.lang.search}">
          <i class="icon-search"></i>
        </button>
      </form>
    </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="width: 10px;">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="">ID</th>
              <th style="">{$Think.lang.list}ID</th>
              <th style="">{$Think.lang.messageUser}UID</th>
              <th style="">{$Think.lang.messageUser}{$Think.lang.nickname}</th>
              <th style="">{$Think.lang.content}</th>
              <th style="">{$Think.lang.ctime}</th>
              <th style="">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist id="vo" name="list">
              <tr data-id="{$vo.message_id}">
                <td>
                  <input type="checkbox" class="toggle" />
                </td>
                <td>{$vo.message_id}</td>
                <td>{$vo.list_id}</td>
                <td>{$vo.from_uid}</td>
                <td>{$vo.from_uid}</td>
                <td>{$vo.content}</td>
                <td>{$vo.uploadTime|date="Y-m-d H:i",###}</td>
                <td><a href="javascript:;" class="A_del">{$Think.lang.delete}</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
    </div>

    <div class="datas-ft">
      <div class="pager" style="text-align:right">{$page}</div>
      <div class="actions">
        <a href="javascript:;" class="btn" id="J_del">{$Think.lang.delRecords}</a>
      </div>
    </div>

  </div>
  </div>
</body>

</html>
